
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<head>
    <script src="${ctx }/js/jquery.form.js" type="text/javascript"></script>
    <script src="${ctx }/js/ajaxfileupload.js" type="text/javascript"
    ></script>
</head>
<div class="pageContent">
    <form action="${ctx }/user/doAdd" method="post"
          onsubmit="return validateCallback(this , dialogAjaxDone);">
        <div class="pageFormContent" layoutH="56">
            <p>
                <label style="color: #ff0000">用户类型:</label>
                <select id="userType" name="userType" style="width:180px">
                    <option value="1">学生</option>
                    <option value="2" selected>老师</option>
                </select>
            </p>
            <div class="divider"/>
            <p>
                <label>手机号:</label>
                <input name="mobile" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>邮箱:</label>
                <input name="email" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>密码:</label>
                <input name="password" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>

            <p>
                <label>头像链接:</label>
                <input name="imgUrl" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>昵称:</label>
                <input name="nickname" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label style="color: #ff0000">性别:</label>
                <select id="gender" name="gender" style="width:180px">
                    <option value="0">女性</option>
                    <option value="1" selected>男性</option>
                </select>
            </p>
            <div class="divider"/>
            <p>
                <label>生日:</label>
                <input class="date valid " datefmt="yyyy-MM-dd" name="birthday" type="text"
                       maxlength="20"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>时区:</label>
                <input name="timezone" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>国家:</label>
                <input name="country" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>省份:</label>
                <input name="province" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>城市:</label>
                <input name="city" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>职业:</label>
                <input name="occupation" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
            <p>
                <label>费率</label>
                <input name="rate" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value=""/>
            </p>
            <div class="divider"/>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>
